<div id="container">
	<div id="sidebar">
		<ul class="sideNav">
			<li><a href="<?php Yii::app()->request->baseUrl; ?>/admin/qnews/add">Добавить новость</a></li>
			<li><a href="<?php Yii::app()->request->baseUrl; ?>/admin/qnews/edit" class="active">Редактировать новости</a></li>
		</ul>
	</div>

<div id="main">

	<h2>Редактирование новостей</h2>

	<table class="EventList">
	<?php
		foreach( $news as $key )
		{ ?>
			<tr>
				<td><?php echo $key->title; ?></td>
				<td width="42" height="42"><?php echo '<a href="/admin/qnews/edit/id/'.$key->id_news.'">';?><img src="<?php Yii::app()->request->baseUrl; ?>/images/adminicons/edit.png" /></a></td>
				<td width="42" height="42"><?php echo '<a href="/admin/qnews/del/id/'.$key->id_news.'">';?><img src="<?php Yii::app()->request->baseUrl; ?>/images/adminicons/delete.png" /></a><br /></td>
			</tr>
		<?php } ?>
	</table>

</div><!-- end main -->